package pref.junx.flybird.base.activity;

import android.support.v7.app.ActionBar;

/**
 * Created by JunX on 17/5/12.
 */

public abstract class BaseBackActivity extends BaseActivity {

    @Override
    protected void initWindow() {
        super.initWindow();
        ActionBar actionBar = getSupportActionBar();
        if (actionBar != null) {
            actionBar.setDisplayHomeAsUpEnabled(true);
            actionBar.setHomeButtonEnabled(false);
        }

    }
}
